
import 'package:common_utils/common_utils.dart';
import 'package:fluro/fluro.dart';
import 'package:flutter_deer/game/page/game_search_page.dart';
import 'package:flutter_deer/routers/i_router.dart';

import 'page/game_page.dart';

class GameRouter implements IRouterProvider{

  static String gamePage = '/game';
  static String gameSearchPage = '/gameSearchPage';

  @override
  void initRouter(FluroRouter router) {
    router.define(gamePage, handler: Handler(handlerFunc: (_, __) => const GamePage()));
    router.define(gameSearchPage, handler: Handler(handlerFunc: (_, __) => const GameSearchPage()));
  }
  
}
